package processes.nMCounterProcess;

import os.MiniOS;
import os.MiniProcess;
import os.MiniThread;

public class NMCounterProcess extends MiniProcess
{

	public NMCounterProcess(String user, String pid)
	{
		super(user, pid);
		name = "NMCounter Process";
		description = "Creates N mcounter threads," +
				"NMCounterThread and MMonitor synchronizing buffer and counter";
	}

	@Override
	protected MiniThread createMainThread(String[] consoleArguments)
	{
		return MiniOS.getInstance().createThread(getPid(),
				"processes.nMCounterProcess.NMCounterProcessMainThread", consoleArguments);
	}

}
